class Sounds
  def Sounds.[](name)
    @@sounds = Hash.new unless defined?(@@sounds)
    if @@sounds[name]
      @@sounds[name]
    else
      @@sounds[name] = SDL::Mixer::Wave.load(name)
    end
  end
end